package com.synyi.service;

import com.synyi.domain.Donor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.synyi.entity.DonorEntity;
import com.synyi.entity.DonorSelectEntity;
import com.synyi.entity.Result;

/**
* @author zhao
* @description 针对表【donor】的数据库操作Service
* @createDate 2024-04-09 15:37:17
*/
public interface DonorService extends IService<Donor> {
    /**
     * 添加供体信息
     * @param donorEntity
     * @return
     */
    Result addDonor(DonorEntity donorEntity);
    /**
     * 修改供体信息
     * @param donorEntity
     * @return
     */
    Result updateDonor(DonorEntity donorEntity);
    /**
     * 删除供体信息
     * @param id
     * @return
     */
    Result deleteDonorById(Long id);

    Result selectDonor(DonorSelectEntity donorSelectEntity);
}
